-- GENERATED SPELL FOR [Swampwalker] --


function spell0_764(pUnit, Event) --@Wild Regeneration,Self--
pUnit:FullCastSpellOnTarget(9616,pUnit)
pUnit:RegisterEvent('Sorts_764', 23000, 1)
end

function Sorts_764(pUnit, Event)
local choix_sorts_764 = math.random(0, 0)
if choix_sorts_764 == 0 then
pUnit:RegisterEvent('spell0_764', 1, 1)
end
end

function mob764_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_764', math.random(1500, 3000), 1)
end

function mob764_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob764_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob764_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(764, 1, 'mob764_Action')
RegisterUnitEvent(764, 2, 'mob764_Leave')
RegisterUnitEvent(764, 3, 'mob764_Kill')
RegisterUnitEvent(764, 4, 'mob764_Die')
